<%@ page language="java" contentType="text/html;charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>	
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>国子监</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/style.css" />
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/public.css" />

    <style>
        #live2dcanvas {
            border: 0 !important;
        }
    </style>
</head>
<body>

<%--<canvas id="c"></canvas>--%>
<%--<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/tx.js"></script>--%>
<!--头部-->
<%--<%--%>
    <%--User user=new User();--%>
    <%--user.setUserName("祝晨轩");--%>
    <%--user.setUserSchool("1");--%>
    <%--request.setAttribute("user",user);--%>
    <%--%>--%>

<header class="publicHeader">
        <h1>欢迎进入国子监大型综合论坛</h1>
        <div class="publicHeaderR">
            <p><span>下午好！</span>
                <c:choose>
                    <c:when test="${userSession.userName!=null}">
                        <span style="color: #fff21b"> ${userSession.userName }</span> , 欢迎你！</p>
                    </c:when>
                    <c:otherwise>
                        <p>欢迎你！请<a href="${pageContext.request.contextPath }/moment/list.html">登录</a></p>
                    </c:otherwise>
                </c:choose>
                
               
            <a href="${pageContext.request.contextPath }/user/outLogin.html">退出</a>
        </div>
    </header>
<!--时间-->
    <section class="publicTime">
        <span id="time">2015年1月1日 11:11  星期一</span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！</a>
    </section>
 <!--主体内容-->
 <section class="publicMian ">
     <div class="left">
         <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
         <nav>
             <ul class="list">
              <li ><a href="${pageContext.request.contextPath }/">论天下</a></li>
              <li><a href="${pageContext.request.contextPath }/moment/list.html">时刻</a></li>
              <li><a href="${pageContext.request.contextPath }/moment/list.html">前辈帮</a></li>
              <li><a href="${pageContext.request.contextPath }/moment/list.html">学术</a></li>
              <li><a href="${pageContext.request.contextPath }/moment/list.html">藏书阁</a></li>
              <li><a href="${pageContext.request.contextPath }/moment/list.html">个人中心</a></li>
              <li><a href="${pageContext.request.contextPath }/user/userList.html">用户管理</a></li>
              <li><a href="${pageContext.request.contextPath }/">密码修改</a></li>
              <li><a href="${pageContext.request.contextPath }/jsp/logout.do">退出系统</a></li>
             </ul>
         </nav>
     </div>
     <input type="hidden" id="path" name="path" value="${pageContext.request.contextPath }"/>
     <input type="hidden" id="referer" name="referer" value="<%=request.getHeader("Referer")%>"/>

